package com.ruoyi.sale.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * 审核流程表
 *
 */
public class PlanProcessVo
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String planProcessId;

    /** 销售计划审核流程状态（0已驳回，1已审，4审核中,5提交审核）*/
    private String planProcessStatus;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date planProcessTime;

    /** 销售计划ID */
    private String planId;

    /** 审核人ID */
    private Long reviewerId;

    /** 审核人部门ID */
    private Long reviewerDeptId;

    /** 审核人角色ID */
    private Long reviewerRoleId;

    /** 审核人排序 */
    private Integer reviewerOrder;

    private String deptName;
    private String roleName;
    private String avatar;
    private String nickName;

    public String getPlanProcessId() {
        return planProcessId;
    }

    public void setPlanProcessId(String planProcessId) {
        this.planProcessId = planProcessId;
    }

    public String getPlanProcessStatus() {
        return planProcessStatus;
    }

    public void setPlanProcessStatus(String planProcessStatus) {
        this.planProcessStatus = planProcessStatus;
    }

    public Date getPlanProcessTime() {
        return planProcessTime;
    }

    public void setPlanProcessTime(Date planProcessTime) {
        this.planProcessTime = planProcessTime;
    }

    public String getPlanId() {
        return planId;
    }

    public void setPlanId(String planId) {
        this.planId = planId;
    }

    public Long getReviewerId() {
        return reviewerId;
    }

    public void setReviewerId(Long reviewerId) {
        this.reviewerId = reviewerId;
    }

    public Long getReviewerDeptId() {
        return reviewerDeptId;
    }

    public void setReviewerDeptId(Long reviewerDeptId) {
        this.reviewerDeptId = reviewerDeptId;
    }

    public Long getReviewerRoleId() {
        return reviewerRoleId;
    }

    public void setReviewerRoleId(Long reviewerRoleId) {
        this.reviewerRoleId = reviewerRoleId;
    }

    public Integer getReviewerOrder() {
        return reviewerOrder;
    }

    public void setReviewerOrder(Integer reviewerOrder) {
        this.reviewerOrder = reviewerOrder;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    @Override
    public String toString() {
        return "PlanProcessVo{" +
                "planProcessId='" + planProcessId + '\'' +
                ", planProcessStatus='" + planProcessStatus + '\'' +
                ", planProcessTime=" + planProcessTime +
                ", planId='" + planId + '\'' +
                ", reviewerId=" + reviewerId +
                ", reviewerDeptId=" + reviewerDeptId +
                ", reviewerRoleId=" + reviewerRoleId +
                ", reviewerOrder=" + reviewerOrder +
                ", deptName='" + deptName + '\'' +
                ", roleName='" + roleName + '\'' +
                ", avatar='" + avatar + '\'' +
                ", nickName='" + nickName + '\'' +
                '}';
    }

    // **添加无参构造函数**
    public PlanProcessVo() {
    }
}
